package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ElderlyDeviceManage implements Serializable {
    //主键id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //设备id
    private String deviceId;

    //设备名称
    private String deviceName;

    //运营城市id
    private Integer cantonId;

    //运营城市名称
    private String cantonName;

    //区域id
    private Integer areaId;

    //区域名称
    private String areaName;

    //负责人名称
    private String responsibleName;

    //联系电话
    private String responsiblePhone;

    //地址
    private String deviceAddress;

    //经度
    private BigDecimal longitude;

    //纬度
    private BigDecimal latitude;

    //备注
    private String remark;

    //设备状态
    private Integer deviceState;

    //SIM卡号
    private String simCard;

    //设备序列号
    private String deviceSerialNumber;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer userId;

    private String userName;

    private Integer enableNumber;

}
